/*********************\
* Author:Dzlua
* QQ:505544956
* Time:2017/04/15
\**********************/
#include "LuaFlash.h"

#define CObjPtr ((CFlashUI*)m_cobj)

namespace DuiLib {

bool LuaFlash::DoCreateControl()
{
    return CObjPtr->DoCreateControl();
}

SDLUA_BEGIN_REGISTER(LuaFlash, Flash, ActiveX)
    SDLUA_REGISTER_FUN_CPP(LuaFlash, DoCreateControl, DoCreateControl)
SDLUA_END_REGISTER

SDLUA_BEGIN_UNREGISTER(LuaFlash, Flash)
SDLUA_END_UNREGISTER(Flash)

}

#undef CObjPtr